text: Support reverse selection
authorMatthias Clasen <mclasen@redhat.com>
Sat, 27 Jun 2020 02:22:47 +0000 (22:22 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 27 Jun 2020 02:22:47 +0000 (22:22 -0400)
commit0d10982379ed4748137a5738b6eabc297201806f
treeda90a61b2ccca25a13b5cd4f2d1314ae929aad20
parentc20a966f06256b1e8b8cc7663151a0a9760a0265
text: Support reverse selection

Take ordering of cursor_position and selection_bound
into account when copying text to the clipboard, and
ensure that both orders work the same.

Fixes: #2898
gtk/gtktext.c